import React, {
  Component,
} from "react";
import {
  Text,
  View,
} from "react-native";
import styles from "./task-time-sheet";

export default function TaskTime(props) {
  return (
    <View style={styles.content}>
      <View>
        <Text style={styles.text}>
          {props.time}
        </Text>
      </View>

      <View>
        <Text style={styles.text}>
          日总量: {props.count}
        </Text>
      </View>
    </View>
  )
}